<?php

namespace app\admin\model;

use thinkless\common\BaseModel;

/**
 * @Table tl_system_error
 * @Comment 系统日志
 * @Column(['name' => 'id', 'type' => 'integer', 'pk' => true, 'auto' => true ])
 * @Column(['name' => 'level', 'type' => 'varchar', 'length' => 20 ])
 * @Column(['name' => 'business_code', 'type' => 'varchar', 'length' => 20 ])
 * @Column(['name' => 'meta', 'type' => 'varchar', 'length' => 255 ])
 * @Column(['name' => 'message', 'type' => 'varchar', 'length' => 255 ])
 * @Column(['name' => 'trace', 'type' => 'text' ])
 * @Column(['name' => 'params', 'type' => 'text' ])
 * @Column(['name' => 'create_time', 'type' => 'datetime', 'default' => 'CURRENT_TIMESTAMP' ])
 */
class LogErrorModel extends BaseModel
{
    protected $table = 'tl_system_error';
}
